package com.example.work3.Service;

import com.example.work3.Entity.Bus;
import com.example.work3.Entity.BusVo;

import java.util.List;

public interface BusService {
    public List<Bus> getAllBus();
    public Bus getBusById(Integer id);
    public boolean insertBus(Bus bus);
    public boolean deleteBusById(Integer id);
    public boolean updateBus(Bus bus);
    public BusVo queryList(Integer current, Integer size);
}
